home *** CD-ROM | disk | FTP | other *** search
- NOTE:This is a file I obtained with information.
- I heavily modified it, and left credits at the end.
- I deleted a lot. Either because I didn't think it applied any longer or
- I thought it was recursion.
- Most Stuff I added I put a "**" next to
-
- And Note:
- I don't believe the dosemu team encourages win 3.1 use yet, so it is
- ALPHA I have had "hardly" any problems, your milage may vary.
- Please don't bug the dosemu team.
- mail comments,additions, or changes to
- robh@indy.net
-
- NOTE:It also seems this will be a big deal to try to get it turned into a FAQ.
- I will try to get it done, or if the DOSEMU-Howto maintainer sees this, you
- have full right to use the info. This info is now in the GPL.
-
-
- OK - here's what I did to get Win 3.1 running with:
- dosemu 0.60.1
- GCC 2.6.2
- Linux 1.2.8
-
- Win3.1_Dosemu.HOWTO v1.0
- ------------------------------------------------------------------------------
- BASIC SUMMARY ................................................................
- Step by Step instructions to follow...........................................
- ------------------------------------------------------------------------------
- - patch the kernel with dpmi/kernel.diff
- - recompile the kernel.
- - recompile dosemu
- - reboot with the new kernel, and run the new dosemu
- - run dpmi/winemu.bat
-
- ------------------------------------------------------------------------------
- Step by step instructions.....................................................
- ------------------------------------------------------------------------------
- 1) Get and install dosemu 0.60.1 which is located at tsx-11.mit.edu in
- /pub/linux/ALPHA/dosemu/ as dosemu0.60.1.tgz : Put that file in /usr/src
- Then uncompress(tar xzf dosemu0.60.1.tgz).
- 2) Move the "kernel.diff" to /usr/src/linux.
- 3) Apply that patch.....I believe 'cat kernel.diff | patch -p0' will do
- 4) Recompile kernel
- 5) Recompile Dosemu
- 6) Get and unzip the os2win31.zip file. There is a readme file included that
- tells you what must be put where; some files go into \windows, others
- into \windows\system. This file is located in
- /pub/linux/ALPHA/dosemu/Development at tsx-11.mit.edu
- Note that it was necessary to rename OS2GDI.EXE and OS2USER.EXE to GDI.EXE
- and USER.EXE respectively. Be sure that you move your existing Win31 files
- of those names to a safe place before doing so! I _think_ that it is
- possible to avoid the need for renaming by adding the following to
- SYSTEM.INI, but I haven't tried it:
-
- [boot]
- ..
- os2gdi.exe=os2gdi.exe
- os2user.exe=os2user.exe
-
-
- 7) Modify your SYSTEM.INI to eliminate any and all drivers that aren't
- absolutely necessary. There are two sys files attached at bottom for
- reference, but the portions dealing with the video drivers will almost
- certainly need to be modified for your machine.
- change the mouse driver line to
-
- mouse=mouse.drv
-
- (this driver comes with the os2win31 archive).
- I tried using my normal mouse driver - Logitech ver. 6.34 - but
- this does not work.
- ** I did the same on my system, but I believe it worked with the old driver.
- ** mouse use seems flaky on my system. It works fine when it works, but I
- ** sometimes have leave/restart windows a couple times.
-
- 8) Edit the winemu.bat file from /usr/src/dosemu/dpmi, if you have
- Windows in another directory than c:\windows.
- ** Basically what winemu.bat does is make sure you are at the windows dir
- ** and then runs system/os2k386.exe
- 9) Copy winemu.bat to your windows dir, if you want to use it.(It will help
- with debugging if things don't go right. It makes a bootlog file)
- 10) Modify your /etc/dosemu.conf file change the mem settings as such
- dpmi xxxx where xxxx is some reasonably large number (I use 16384).
- Do _not_ use more than 64k of XMS, and don't use EMS at all.
- ** I will be looking into this......
- 11) Start Windows using the winemu.bat file.
- ** Do not change Virtual Consoles!!! If you do, you will probably mess up
- your video display. But you can still shut down with ctrl-alt-del
- don't hit reset, unless things are really locked up.
- 12) For some reason, the Program Manager came up with NO program groups
- defined. The group files were still there; I could just add them
- all back in.
- ** The reason for this is that(I may have this backwards) windows by itself
- ** puts all the groups in system.ini under [Groups] and os2k386.exe for
- ** some reason decides to look into progman.ini for the groups. Remember I
- ** may have that switched...
-
- 13) If you cannot get the program manager to work corectly, try changing your
- "shell" in system.ini to
-
- shell=SOL.EXE
-
- ------------------------------------------------------------------------------
- [boot]
- ;Note my system.ini has paths on everything... I don't like
- ;MS's idea of throwing everything into c:\windows YUK!
- 386grabber=AVGA.3GR
- oemfonts.fon=d:\windows\system\fonts\VGAOEM.FON
- fixedfon.fon=d:\windows\system\fonts\VGAFIX.FON
- fonts.fon=d:\windows\system\fonts\VGASYS.FON
- display.drv=d:\windows\system\video\256_1280.DRV
- mouse.drv=d:\windows\system\mouse.drv
- shell=progman.exe
- network.drv=
- ;language.dll=
- ;sound.drv=sound.drv
- ;comm.drv=comm.drv
- system.drv=system.drv
- keyboard.drv=keyboard.drv
- taskman.exe=c:\windows\BTM\BTMTASK.EXE
- ;drivers=mmsystem.dll
- speaker.drv=speaker.drv
- SCRNSAVE.EXE=(None)
-
- [keyboard]
- subtype=
- type=4
- keyboard.dll=
- oemansi.bin=
-
- [boot.description]
- aspect=100,96,96
- display.drv=GD5426/28 v1.43, 800x600x256
- mouse.drv=mouse.drv
- keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards
- language.dll=English (American)
- system.drv=MS-DOS System
- codepage=437
- woafont.fon=English (437)
- network.drv=No Network Installed
- secondnet.drv=No Additional Network Installed
-
- [386Enh]
- display=VDD542X.386
- EGA80WOA.FON=d:\windows\system\fonts\EGA80WOA.FON
- EGA40WOA.FON=d:\windows\system\fonts\EGA40WOA.FON
- CGA80WOA.FON=d:\windows\system\fonts\CGA80WOA.FON
- CGA40WOA.FON=d:\windows\system\fonts\CGA40WOA.FON
- SysVMIn2ndBank=FALSE
- mouse=*vmd
- device=*vpd
- woafont=dosapp.fon
- device=vtdapi.386
- device=vshare.386
- ebios=*ebios
- 32BitDiskAccess=off
- device=*int13
- device=*wdctrl
- keyboard=*vkd
- network=*dosnet,*vnetbios
- netheapsize=16
- device=*vcd
- device=*vpicd
- device=*vtd
- device=*reboot
- device=*vdmad
- device=*vsd
- device=*v86mmgr
- device=*pageswap
- device=*dosmgr
- device=*vmpoll
- device=*wshell
- device=*PAGEFILE
- device=*BLOCKDEV
- device=*vfd
- device=*parity
- device=*biosxlat
- device=*vmcpd
- device=*combuff
- device=*cdpscsi
- device=vpmtd.386
- device=vcomm.386
- device=serial.386
- device=lpt.386
- device=ifsmgr.386
- device=vcache.386
- local=CON
- FileSysChange=off
- COM3Irq=4
- COM3Base=03E8
- COM4Irq=3
- COM4Base=02E8
- MinTimeslice=20
- WinTimeslice=100,50
- WinExclusive=0
- Com1AutoAssign=2
- Com2AutoAssign=2
- Com3AutoAssign=-1
- LPT1AutoAssign=60
- COM2Irq=3
- COM2Base=02F8
- Com4AutoAssign=0
- Paging=0
-
- [NonWindowsApp]
- localtsrs=dosedit,ced
- CommandEnvSize=1024
-
- [vcache]
- minfilecache=4096
-
- [mci]
- ;CDAudio=mcicda.drv
- ;Sequencer=mciseq.drv
- ;WaveAudio=mciwave.drv
- ;MCIMPEG=MCIMPEG.DRV
- ;AVIMPEG=AVIMPEG.DRV
-
- [drivers]
- ;midimapper=midimap.drv
- timer=timer.drv
- ;MCIMPEG=MCIMPEG.DRV
- ;XMPG_AVI=XMPG_AVI.DRV
- ;VIDC.XMPG=XMPG_AVI.DRV
-
- [DDEShares]
- ;CHAT$=winchat,chat,,31,,0,,0,0,0
- ;SCHAT$=winchat,chat,,31,,0,,0,0,0
- ;CLPBK$=clipsrv,system,,31,,0,,0,0,0
- ;HEARTS$=mshearts,hearts,,15,,0,,0,0,0
-
- [Network]
- winnet=nonet
- multinet=nonet
- FileSharing=No
- PrintSharing=No
-
- [network drivers]
- ;devdir=C:\WINDOWS
- ;LoadRMDrivers=No
-
- [speaker.drv]
- ;CPU Speed=41
- ;Volume=800
- ;Version=774
- ;Enhanced=1
- ;Max seconds=9999
- ;Leave interrupts enabled=0
-
- [CLVGA]
- dpi=96
- videomode=92
-
- [mouse]
- MouseType=SERIAL1
-
- [Settings]
- display.drv=d:\windows\system\video\256_1280.DRV
- Order=4 1 2 3
- Window=3 6 796 595 1
- dir1=0,0,638,325,-1,-1,1,0,201,1905,212,D:\WINDOWS\*.*
-
- [Groups]
- Group1=D:\WINDOWS\STARTUP.GRP
- Group2=D:\WINDOWS\MAIN.GRP
- Group3=D:\WINDOWS\APPLICAT.GRP
- Group4=D:\WINDOWS\GAMES.GRP
- [Scheduler]
- ButtonStyle=838
- StatusBar=1
- Hide=0
-
- [MS Works]
- Version=20003
- Show3dDialogs=1
- AlternateCursors=1
- ShowToolbar=1
- DoWelcome=0
-
- [Word Processor]
- ReturnAddress1=
- ReturnAddress2=
- ReturnAddress3=
- ReturnAddress4=
- ReturnAddress5=
-
- [Recent File List]
- File1=
- File2=
- File3=
- File4=
- File5=
- File6=
- File7=
- File8=
- DBFile1=
- DBFile2=
- DBFile3=
- DBFile4=
- DBFile5=
- DBFile6=
- DBFile7=
- DBFile8=
- CMFile1=
- CMFile2=
- CMFile3=
- CMFile4=
- CMFile5=
- CMFile6=
- CMFile7=
- CMFile8=
- CMLongFile1=
- CMLongFile2=
- CMLongFile3=
- CMLongFile4=
- CMLongFile5=
- CMLongFile6=
- CMLongFile7=
- CMLongFile8=
- ------------------------------------------------------------------------------
- ;Note that disk accesses under Windows will absolutely bring me down in a
- ;flash without the VirtualHDIrq setting found below!
-
- [boot]
- 386grabber=vgadib.3gr
- oemfonts.fon=vgaoem.fon
- 286grabber=vgacolor.2gr
- fixedfon.fon=vgafix.fon
- fonts.fon=vgasys.fon
- display.drv=svga256.drv
- shell=sol.exe
- ;mouse.drv=lmouse.drv
- mouse.drv=mouse.drv
- network.drv=
- language.dll=
- ;sound.drv=mmsound.drv
- ;comm.drv=comm.drv
- keyboard.drv=keyboard.drv
- system.drv=system.drv
- ;drivers=mmsystem.dll
- [keyboard]
- subtype=
- type=4
- keyboard.dll=
- oemansi.bin=
-
- [boot.description]
- aspect=100,96,96
- display.drv=Super VGA 1024x768 256 colors Small Fonts
- keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards
- ;mouse.drv=Logitech
- mouse.drv=mouse.drv
- network.drv=No Network Installed
- language.dll=English (American)
- system.drv=MS-DOS System
- codepage=437
- woafont.fon=English (437)
-
- [386Enh]
- EMMExclude=C800-EFFF
- VirtualHDIrq=off
- LocalReboot=off
- display=vddsvga.386
- EGA80WOA.FON=EGA80WOA.FON
- EGA40WOA.FON=EGA40WOA.FON
- CGA80WOA.FON=CGA80WOA.FON
- CGA40WOA.FON=CGA40WOA.FON
- SysVMIn2ndBank=FALSE
- SystemROMBreakPoint=false
- mouse=lvmd.386
- network=*dosnet,*vnetbios
- ebios=*ebios
- woafont=dosapp.fon
- keyboard=*vkd
- device=vtdapi.386
- device=*vpicd
- device=vtda.386
- device=*reboot
- device=*vdmad
- device=*vsd
- device=*v86mmgr
- device=*pageswap
- device=*dosmgr
- device=*vmpoll
- device=*wshell
- device=*BLOCKDEV
- device=*PAGEFILE
- device=*vfd
- device=*parity
- device=*biosxlat
- device=*vcd
- device=*vmcpd
- device=*combuff
- device=*cdpscsi
- local=CON
- FileSysChange=off
- Paging=0
- MinTimeslice=100
- WinTimeslice=100,50
- WinExclusive=0
-
- [standard]
-
- [NonWindowsApp]
- localtsrs=dosedit,ced
-
- [mci]
- ;WaveAudio=mciwave.drv
- ;Sequencer=mciseq.drv
- ;CDAudio=mcicda.drv
-
- [drivers]
- timer=timer.drv
- ;midimapper=midimap.drv
-
- [LogiMouse]
- Type=Serial
- Model=MouseMan
- Port=1
- DragLock=None
-
- [svga256.drv]
- dpi=96
- resolution=3
- svgamode=56
- ChipSet=Tseng ET4000
- LatchCapable=Yes
-
- [Settings]
- display.drv=svga256.drv
- Window=4 0 1020 696 1
-
- [Solitaire]
- Back=11
- ---------------------------------------------------------------------------
- CREDITS
- ---------------------------------------------------------------------------
- Information has been obtained:
-
- From: Henrik Storner <storner@osiris.ping.dk>
- Date: Sat, 25 Mar 1995 09:27:42 +0100 (MET)
-
- From: Wayne Meissner <n1046128@student.fit.qut.edu.au>
- Date: Tue, 28 Mar 1995 12:30:56 +1000 (EST)
-
-
- From: Greg Turner <gregt@interaccess.com>
- Date: Tue, 28 Mar 1995 01:53:46 -0500 (EST)
-
- From: J. Lawrence Stephan
- Date: On Mon, 27 Mar 1995
-
- From: jlarry@ssnet.com (J. Lawrence Stephan)
- Date: Mon, 27 Mar 1995 00:17:50 -0500 (EST)
-
- From: jlarry@ssnet.com (J. Lawrence Stephan)
- Date: Mon, 27 Mar 1995 00:17:50 -0500 (EST)
-
- Date: Mon, 27 Mar 1995 20:12:28 -0500 (EST)
- From: "Steven N. Hirsch" <hirsch@emba.uvm.edu>
-
-